home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Opus5.5
/
ARexx.lha
/
ARexx
/
xpkclick.dopus5
< prev
Wrap
Text File
|
1996-06-13
|
1KB
|
44 lines
/* Custom kludge for my personal use to view xpk packed files.
by Leo 'Nudel' Davidson for Gods'Gift Utilities
email: leo.davidson@keble.oxford.ac.uk www: http://users.ox.ac.uk/~kebl0364
This script will be obsolete when my xpk.module is written.
As this script requires PackX it is not for release, at least not before
it is tidied up and made more general (which probably won't happen).
{Qp} {Ql} {Qs} {s} {o}
*/
tempdir = "Goodies:Spool/" /* Must end with ":" or "/" */
options results
options failat 99
parse arg DOpusPort source screen '"' sourcedir '" "' filename '"'
If DOpusPort="" THEN Do
Say "Not correctly called from Directory Opus 5!"
Say "Load this ARexx script into an editor for more info."
EXIT
END
If ~Show("P",DOpusPort) Then Do
Say DOpusPort "is not a valid port."
EXIT
End
Address Command
tempfile = '"'tempdir||filename'"'
'Copy "'sourcedir||filename'"' tempfile
"Protect" tempfile "+drw"
"PackX File" tempfile "PRI 3 GUI PUBSCR" screen
Address value DOpusPort
"Command wait doubleclick" tempfile
Call Delay(50)
Do while ~Delete(Strip(tempfile,B,'"'))
Delay(30)
End
EXIT